<h6>热门关键字</h6>
<hr class="text-subline">
{pc:content action="lists" catid="$catid" num="100" siteid="$siteid" order="listorder DESC" return="tag"}
  {loop $tag $v}
    {php $tags .= $v['keywords'].' '}
  {/loop}
  {php $value = str_replace(' ','\',\'',trim($tags))}
{/pc}
<div class="offset-top-14 offset-md-top-20">
  {if $value}
    {pc:get sql="SELECT * FROM hy_keyword WHERE keyword IN ('$value') ORDER BY videonum DESC" return="kw" num="20"}
    <div class="tags group group-sm">
      {loop $kw $r}
      <a href="{APP_PATH}index.php?m=content&c=tag&a=lists&tag={urlencode($r['keyword'])}" class="btn-tag btn btn-default" >{$r['keyword']}</a>
      {/loop}
    </div>
    {/pc}
  {else}
    暂无信息...
  {/if}
</div>
